/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package manager;

import dao.LendingDao;
import entity.Lending;

/**
 *
 * @author daz
 */
public class LendingManager {
    
    LendingDao lendingDao;
    
    public void setLendingDao(LendingDao lendingDao) {
        this.lendingDao = lendingDao;
    }
    
    public LendingDao getLendingDao() {
        return lendingDao;
    }

    public void inserNewLending(Lending lending) {
        this.lendingDao.insertNewLending(lending);
    }
}
